package com.ityuwen.mengyagushi.user.service;

import com.ityuwen.mengyagushi.model.user.UserInfo;
import com.ityuwen.mengyagushi.model.user.UserPaidTrack;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.FileNotFoundException;
import java.util.List;
import java.util.Map;

public interface UserInfoService extends IService<UserInfo> {

    Map<String, Object> wxLogin(String code, String type) throws FileNotFoundException;

    Boolean isPaidAlbum(Long albumId);

    List<UserPaidTrack> getPaidTracks(Long albumId);

    void updateVipStatus();
}
